package com.dao;

import java.util.List;
import java.util.Map;

import com.bean.CraftPartStandard;
import com.bean.ExtraCraftPartStandard;

public interface CraftPartStandardDao {

	public abstract void save(CraftPartStandard transientInstance);

	public abstract void delete(CraftPartStandard persistentInstance);

	public abstract CraftPartStandard findById(java.lang.Integer id);

	public abstract List findByExample(CraftPartStandard instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByPartId(Object partId);

	public abstract List findByCraftStdTypeId(Object craftStdTypeId);

	public abstract List findAll();

	public abstract CraftPartStandard merge(CraftPartStandard detachedInstance);

	public abstract void attachDirty(CraftPartStandard instance);

	public abstract void attachClean(CraftPartStandard instance);
	
	public abstract List<ExtraCraftPartStandard> getAllStandards(Map<String, String> options);

}